Often there is a need to change the hierarchy of the Wialon service for more efficient management. We covered the transfer of objects within the same service in another article, but sometimes there is a need to transfer them to another service.
This article proposes tools for transferring objects between services. Depending on the type of transferred objects, both automatic and manual transfer tools are available.
Automatic transfer
There is an additional service for automatic transfer of accounts between Wialon Hosting services using internal Wialon tools. Automatic transfer implies a full-fledged transfer that preserves all the properties and relationships of the transferred objects. It has the following restrictions:
- only entire accounts are transferred;
- the total number of transferred active units is from 50 and above;
- services must be located in the same data center;
- the entire content of the service is not available for transfer;
- after the transfer, the number of the units in the final service should not exceed the recommended limit.
To transfer accounts automatically, send a request to partners@wialon.com.
Manual transfer
The manual transfer involves re-creating the necessary objects in a new location and setting them up afterward. Some of the settings can be transferred using the import and export tool. Additionally, in this case, you will have to re-set user rights and relationships between micro-objects (for example, geofences in report templates and notifications), as well as user passwords.
Below, we will consider instructions for transferring individual system objects between services.
Accounts
An account is a fundamental service object which consists of a resource, a user, and a billing plan. Therefore, the transfer of an account is a complex process that includes:
- creating a new account;
- transferring the user-creator of the account;
- assigning the desired billing plan;
- transferring the content of the resource;
- transferring all the other objects belonging to the original account: users, units, groups of units, retranslators, and routes.
To transfer accounts, log in to the CMS Manager interface and follow the instructions:
- Export the settings of the user-creators of the accounts to WLP files (Export to file → Complete copy). When exporting the settings of several users at once, an archive with WLP files is created.
- Change the names of the accounts and their user-creators in the original service. For example, you can add "_old" to the end of the names.
- Create all the necessary accounts in the new service.
- Extract the files from the archive you downloaded earlier and import the settings of the respective users from the WLP files. It is important to note that user properties such as email addresses, access rights, and passwords are not transferred during export, and you need to reset them manually. If the service owner has saved the current passwords, they can set the same passwords for users after the transfer. In the other case, new passwords for users have to be set.
- If necessary, transfer the remaining objects of the accounts according to the instructions below.
Units and messages
Using messages export/import
- Export unit settings to WLP files. If several units are being exported at once, an archive with WLP files is created.
- In the original service, change the ID and phone numbers specified in the units properties. For example, you can add "_old" to the ID and an extra digit to the phone number.
- Extract the files from the archive you downloaded earlier and create units from the WLP files.
- Export messages from the units in the original service. Use WLN or WLB format.
- Import the messages into the appropriate units in the new service.
Using messages retransmitting
- Export unit settings to WLP files. If several units are being exported at once, an archive with WLP files is created.
- Extract the files from the archive you downloaded earlier and create units from the WLP files.
- When creating units, an error will be displayed with the text "Import failed or incomplete”. This error occurs due to a conflict between the same ID and phone number in the original and destination services. When the unit properties window opens, you need to specify the device type as Wialon Retranslator and ID as the ID of the unit in the original service.
- Create a retranslator in the original service and add the units with the messages to transfer.
- Start the retranslator as it is created stopped.
- Open the retranslator settings, activate the Retransmitting data for a past period option, and specify the required period.
- When the retransmitting data for a past period is complete, change the ID and phone number of the units in the original service. For example, add "_old" to the ID and an extra digit to the phone number.
- Import the WLP files again and select Device configuration when importing. Re-import is necessary to specify the correct device type and phone number of the units in the new service.
Resources content
A resource is a storage for the following objects:
- geofences and groups of geofences;
- jobs and notifications;
- report templates;
- drivers, trailers, passengers, as well as groups of drivers, trailers, and passengers;
- orders.
You can transfer both the entire content and individual objects. To transfer, follow the next steps:
- Export the content of the resources in the original service to a WLP file after selecting the objects you want to transfer.
- Import the content of the resources from the WLP files into the new service.
Orders can be exported and imported directly in the Logistics application.
Users
- Export the settings of the original user to a WLP file (Export to file → Complete copy). When exporting the settings of several users at once, an archive with WLP files is created.
- Rename the users in the original service, for example, by adding "_old" to the end of each name.
- Create users in the new service.
- Extract the files from the archive you downloaded earlier and import the settings of the respective users from the WLP files. It is important to note that user properties such as email addresses, access rights, and passwords are not transferred during export, and you need to reset them manually. If the service owner has saved the current passwords, they can set the same passwords for users after the transfer. In the other case, new passwords for users have to be set.
Unit groups
It is currently impossible to export the settings of unit groups. To transfer unit groups, you have to manually create them in an account in the new service, add the necessary unit to them, and grant users the appropriate access rights.
Retranslators
It is currently impossible to export the retranslator settings. To transfer a retranslator, you need to recreate it in the required account and manually copy the settings of the original retranslator into it.
Retranslators cannot be created on behalf of another user. Therefore, to create a retranslator in a particular account, you must be logged in as the user-creator of that account.
Routes
It is currently impossible to export the route settings. To transfer a route, you need to recreate it along with the schedule in the required account and manually transfer the settings of the original route into it.